import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import Vant from 'vant'
import 'vant/lib/index.css'

// 加载全局样式文件
import './styles/index.less'

// 加载动态设置rem基准值
import 'amfe-flexible'

// 加载dayjs 初始化设置
import './utils/dayjs'
// Vue在H5上修改标题
import vueWechatTitle from 'vue-wechat-title'
Vue.use(vueWechatTitle)

// 注册使用Vant组件库
Vue.use(Vant)

Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
